import TrainingMessage from './trainingMessage.vue'
import TrainingMessageSearch from './trainingMessageSearch.vue'
import TrainingMessageEdit from './trainingMessageEdit.vue'
import TrainingMessageAdd from './trainingMessageAdd.vue'
import TrainingMessageView from './trainingMessageView.vue'

const components = [
  TrainingMessage,
  TrainingMessageSearch,
  TrainingMessageEdit,
  TrainingMessageAdd,
  TrainingMessageView
]

const main = {
  install(Vue) {
    components.map((component) => {
      Vue.component(component.name, component)
    })
  }
}

export default main
